package cn.mmko.infrastructure.dao;
import cn.mmko.infrastructure.dao.po.PayOrderPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IOrderDao {
    void insert(PayOrderPO payOrderPO);

    PayOrderPO queryUnpaidOrder(PayOrderPO payOrderReq);

    void updateOrderPayInfo(PayOrderPO payOrder);
    void changeOrderPaySuccess(PayOrderPO payOrder);
    List<String> queryTimeoutOrderList();
    List<String> queryNoPayNotifyOrder();
    boolean changeOrderClose(String orderId);

}
